package com.ruoyi.pet.mapper;

import java.util.List;
import com.ruoyi.pet.domain.PetMedicalRecord;

/**
 * 诊疗记录Mapper接口
 * 
 * @author 木有枝
 * @date 2025-04-13
 */
public interface PetMedicalRecordMapper 
{
    /**
     * 查询诊疗记录
     * 
     * @param recordId 诊疗记录主键
     * @return 诊疗记录
     */
    public PetMedicalRecord selectPetMedicalRecordByRecordId(Long recordId);

    /**
     * 查询诊疗记录列表
     * 
     * @param petMedicalRecord 诊疗记录
     * @return 诊疗记录集合
     */
    public List<PetMedicalRecord> selectPetMedicalRecordList(PetMedicalRecord petMedicalRecord);

    /**
     * 新增诊疗记录
     * 
     * @param petMedicalRecord 诊疗记录
     * @return 结果
     */
    public int insertPetMedicalRecord(PetMedicalRecord petMedicalRecord);

    /**
     * 修改诊疗记录
     * 
     * @param petMedicalRecord 诊疗记录
     * @return 结果
     */
    public int updatePetMedicalRecord(PetMedicalRecord petMedicalRecord);

    /**
     * 删除诊疗记录
     * 
     * @param recordId 诊疗记录主键
     * @return 结果
     */
    public int deletePetMedicalRecordByRecordId(Long recordId);

    /**
     * 批量删除诊疗记录
     * 
     * @param recordIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePetMedicalRecordByRecordIds(Long[] recordIds);
}
